{% extends "base.html" %}

{% block title %}
查看信息
{% endblock %}

{% block see %}
active
{% endblock %}


{% block body %}
    <table>
        <tr>
            <td>姓名:</td>
            <td>{{ u.username }}</td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>{{ u.sex }}</td>
        </tr>
        <tr>
            <td>年龄:</td>
            <td>{{ u.age }}</td>
        </tr>
        <tr>
            <td>照片:</td>
            <td><a href="{% url "see_p" %}">点击查看</a></td>
        </tr>
        <tr>
            <td>年薪:</td>
            <td>{{ u.money }}</td>
        </tr>
        <tr>
            <td>婚姻状况:</td>
            <td>{{ u.married }}</td>
        </tr>
        <tr>
            <td>子女情况:</td>
            <td>{{ u.children }}</td>
        </tr>
        <tr>
            <td>已有房产:</td>
            <td>{{ u.house }}</td>
        </tr>
        <tr>
            <td><a href="{% url "index" %}">返回首页</a></td>
            <td></td>
        </tr>
        <tr>
            <td><a href="{% url "alter_inf" %}">修改信息</a></td>
            <td></td>
        </tr>
    </table>
{% endblock %}